static char *erroropt = NULL;
static char *xteopt = NULL;
static char *lenopt = NULL;
+void (*waypt_del_fnp) (route_head *rte, waypoint *wpt);
static
arglist_t routesimple_args[] = {
totalerror += xte_recs[i].distance;
}
}
- route_del_wpt( (route_head *)(void *)rte,
+ (*waypt_del_fnp)( (route_head *)(void *)rte,
(waypoint *)(void *)(xte_recs[i].intermed->wpt));
waypt_free((waypoint *)(void *)(xte_recs[i].intermed->wpt));
void
routesimple_process( void )
{
+ waypt_del_fnp = route_del_wpt;
route_disp_all( routesimple_head, routesimple_tail, routesimple_waypt_pr );
+
+ waypt_del_fnp = track_del_wpt;
track_disp_all( routesimple_head, routesimple_tail, routesimple_waypt_pr );
}